import Vue from 'vue'
import Router from 'vue-router'
import Home from '../views/Home.vue'
import component from './component'
Vue.use(Router)

export default new Router({
  routes: [{
    path: '/',
    name: 'home',
    component: Home,
    redirect: '/component/installation',
    children: [...component]
  }]
})